package com.sinping.qh.service.admin;

import com.sinping.qh.api.support.FrontPage;
import com.sinping.qh.api.support.ResDto;
import com.sinping.qh.dto.admin.lab.LabImportExcelDto;
import com.sinping.qh.dto.admin.lab.LaboratoryDto;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * @author jiahuaiqing
 * @create 2018/6/1
 */
public interface ILaboratoryService {

    ResDto addLaboratory(HttpServletRequest request,LaboratoryDto laboratoryDto);

    ResDto updateLaboratory(HttpServletRequest request,LaboratoryDto laboratoryDto);

    ResDto getLaboratoryById(String id);

    ResDto getLaboratoryFrontPage(HttpServletRequest request,FrontPage page);

    ResDto deleteLaboratoryById(HttpServletRequest request,String id);
    //批量删除
    ResDto deleteLaboratoryByIds(HttpServletRequest request,List<String> ids);
    //按条件导出实验室
    ResDto laboratoryExport(FrontPage frontPage, HttpServletResponse response,HttpServletRequest request);
    //导入实验室
    ResDto labImportExcel(LabImportExcelDto labImportExcelDto, HttpServletRequest request);
    ResDto getManagerUnitList(HttpServletRequest request);
    ResDto getManagerBuildingList(HttpServletRequest request);
}
